using System.Web.UI;
using FubuMVC.Core.Runtime;
using FubuMVC.Core.View;

namespace FubuMVC.WebTestTrack.Views
{
    public class FubuViewPage : Page, IFubuView
    {
        
    }

    public class Home_Index_View : Page, IFubuView<IndexModel>
    {
        public IndexModel Model{ get; set;}

        public void SetModel(IModelState state)
        {
            Model = state.RetrieveModel<IndexModel>();
        }
    }

    public class Test_Index_View : Page, IFubuView<TestModel>
    {
        public TestModel Model { get; set; }

        public void SetModel(IModelState state)
        {
            Model = state.RetrieveModel<TestModel>();
        }
    }

    public class IndexModel
    {
        public string Id { get; set; }
    }

    public class TestModel
    {
        public string Name { get; set; }
    }
}